{yun:}include file="$wapstyle/member/header.htm"{/yun}
<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/wap_tck.css?v={yun:}$config.cachecode{/yun}" type="text/css">
<script src="{yun:}$wap_style{/yun}/js/resume.js" language="javascript"></script>
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/js/mui/css/mui.picker.min.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/js/mui/css/mui.poppicker.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/style.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/css/cmc.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/css/new_resume.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<script src="{yun:}$wap_style{/yun}/js/compress.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<div class="wap_member_comp_h1"><span>创建简历</span></div>
<div id="app" class="mui-views">
	<div class="mui-view">
		<div class="mui-pages"></div>
	</div>
</div>
<style type="text/css">
  .mui-views, .mui-view, .mui-pages, .mui-page, .mui-page-content{height: 100%}
.job_lvli{margin-bottom: 55px;}
</style>

<div id="main" class="mui-page">
	
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll" >
				<div class="my_info">
                       <div class="info_hd">
                           <a class="jl_title" href="index.php?c=info">
                            <span>个人信息</span>
                            <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png"/>
                           </a>

                       </div>
                       <div class="info_bd">
                           
                             <!-- <img class="my_avatar" id="photopic" src="{yun:}$resume.photo{/yun}" border="0" /> -->
                            {yun:}if $resume.sex==1{/yun}
                              <img class="my_avatar" src="{yun:}$resume.photo{/yun}" border="0" onerror="showImgDelay(this,'{yun:}$config.sy_weburl{/yun}/{yun:}$config.sy_member_icon{/yun}',2);">
                            {yun:}else{/yun}
                              <img class="my_avatar" src="{yun:}$resume.photo{/yun}" border="0" onerror="showImgDelay(this,'{yun:}$config.sy_weburl{/yun}/{yun:}$config.sy_member_iconv{/yun}',2);">
                            {yun:}/if{/yun}

                            
                             <div class="info_wapper">
                                 <div class="user_id">{yun:}$resume.name{/yun}</div>
                                 <div class="user_info">
                                     <span><img src="../../../app/template/wap/images/jl_sex_icon.png" />{yun:}if $resume.sex==1{/yun}{yun:}$arr_data1{/yun}{yun:}else if $resume.sex==2{/yun}{yun:}$arr_data1{/yun}{yun:}/if{/yun}</span>
                                     <span><img src="../../../app/template/wap/images/jl_age_icon.png"/>{yun:}$resume.age{/yun}岁</span>
                                     <span><img src="../../../app/template/wap/images/yun_dx.png"/>{yun:}$resume.living{/yun}</span>
                                 </div>
                                 <div class="tel_info">
                                     <img src="../../../app/template/wap/images/jl_tel_icon.png"/>{yun:}$resume.telphone{/yun} 
                                 </div>
                             </div>
                       </div>
                 </div>


                 <div class="expect_job">
                       <div class="row">
                             <div> 
                                <a class="jl_title" href="#jobclasshtml">
                                  <span class="expect_job_title">期望工作</span> 
                                   <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />
                                </a>
                            </div>
                            <div id="jobnameshow" class="expect_job_cont">


                               {yun:}foreach from=$resume_expect.job_classname key=k item=val{/yun}

                                    <span class="sel-zw" data-id="{yun:}$k{/yun}">{yun:}$val{/yun}</span>

                               {yun:}/foreach{/yun}



                            </div>
                            <input type="hidden" name="name" id="job_classid"  value="{yun:}$resume_expect.job_classid{/yun}"/>


                       </div>

                       <div class="row">
                          <div class="jl_title">
                              <div class="expect_job_title" style="float:left;width:20%" >期望岗位</div>
                              <div style="float:right;width:79%">
                                <input style="box-sizing:border-box;border:0;outline: 0; font-size:14px; margin-bottom: 0; padding:3px 5px;color: #9E9F9F" type="text" name="name" id="name" value="{yun:}$resume_expect.name{/yun}" placeholder="比如：销售总监,销售经理"/>
                              </div>
                          </div>

                       </div>


                       <div class="row">
                          <a class="jl_title" href="#salaryhtml">
                               <span class="expect_job_title">期望薪资</span>
                               <span class="salary_cont" id="salaryshow">
                                    
                                  {yun:}$resume_expect.minsalary{/yun}-{yun:}$resume_expect.maxsalary{/yun}元/月

                               </span>
                               <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />  
                         </a>
                       </div>
                       <div class="row">
                            <a class="jl_title" href="#cityclasshtml">
                              <span class="expect_job_title">期望城市</span>

                              <span id="citynameshow" class="city_cont">{yun:}$resume_expect.city_classname{/yun}</span>

                               <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" /> 
                            </a>

                            <input type="hidden" id="city_classid"  value="{yun:}$resume_expect.city_classid{/yun}"/>


                       </div>
                       <div class="row">
                             <div>
                                <a class="jl_title" href="#jinenghtml">
                                 <span class="expect_job_title">技能优势</span>
                                 <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />
                                </a>

                             </div>
                             <div id="jinengshow" class="skill_cont">
                               {yun:}foreach from=$resume_expect.skill_name_arr item=val{/yun}
                                 <span>{yun:}$val{/yun}</span>
                               {yun:}/foreach{/yun}
                               <div style="clear:both"></div>
                               
                             </div>

                             <input type="hidden"  id="skills"  value="{yun:}$resume_expect.skill_id{/yun}"/>




                       </div>
                 </div>



                 <div class="resume_row3">
                       <div class="row">

                             <a href="#jobclasshtml1" class="jl_title"> 

                               <div class="jl_title" id="jobPicker">
                                  <span class="expect_job_title">从事过的职位</span> 
                                  <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />
                               </div>

                            </a>



                            <div id="jobnameshow1" class="expect_job_cont">

                               <!--  <span>店长/督导</span>
                               <span>营业员</span>
                               <span>理货员</span>
                               <span>售货员</span>
                               <span>导购员</span> -->
                                <div class="clear"></div>

                            </div>

                               <input type="hidden" name="job_classid" id="job_classida" value="" />

                             <!--  <input type="hidden" id="job1" name="job1" value="">
                             <input type="hidden" id="job1_son" name="job1_son" value="">
                             <input type="hidden" id="job_post" name="job_post" value=""> -->

                       </div>

                       <div class="row jl_title" style="display: flex;">
                           <span class="expect_job_title">工作年限</span>
                           <span class="salary_cont" id='expPicker' style="flex:1;">
                               {yun:}$resume_expect.exp_name{/yun}
                           </span>
                           <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />

                          <input type="hidden" id="exp" name="exp" value="{yun:}$resume_expect.exp{/yun}">
                       </div>
                       <div class="row jl_title" style="display: flex;">
                            <span class="expect_job_title">最高学历</span>
                            <span class="city_cont" id='eduPicker' style="flex:1;">{yun:}$resume_expect.edu_name{/yun}</span>
                            <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" /> 

                           <input type="hidden" id="edu" name="edu" value="{yun:}$resume_expect.edu{/yun}">
                       </div>


                 </div>
                 <div class="my_introduce row">
                         <div class="info_hd">
                             <a class="jl_title" href="#introducehtml">
                               <span>个人介绍</span>
                                <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png"/>
                             </a>
                       </div>
                       <div class="info_bd" style="flex-wrap: wrap;overflow: hidden; width:100%;word-wrap:break-word" >
                            {yun:}if !$resume_expect.introduce_cont{/yun}
                             <div class="introduce_txt">
                                 丰富的自我介绍有利于获得HR的好感，不要羞涩哦~
                             </div>
                             {yun:}else{/yun}
                              <div class="introduce_txt" style="line-height: 22px; width:100%; word-wrap:break-word">
                                  {yun:}$resume_expect.introduce_cont{/yun}
                             </div>
                             {yun:}/if{/yun}



                       </div>



                 </div>
                 <div class="row my_picture" style="position: relative;">
                       <div class="info_hd jl_title" style="">
                            <span style="width:40%;">个人照片</span>
                            <span class="right_info" style="width:60%; text-align:right; margin-right:20px; height:40px;">
                                
                                <span class="yunset_list_commentary" id="preview1show">
                          	        <img id="preview1img" src="{yun:}$config.sy_weburl{/yun}/{yun:}$resume_expect.self_photo{/yun}" onerror="showImgDelay(this,'{yun:}$config.sy_weburl{/yun}/{yun:}$config.sy_member_ewm{/yun}',2);" style="border-radius:0px;height:30px; vertical-align:middle;">
                       	        </span>

                                {yun:}if $resume_expect.self_photo{/yun}
                                <span id="preview1show1">
                                  <img src="{yun:}$config.sy_weburl{/yun}/{yun:}$resume_expect.self_photo{/yun}"  style="height:40px;"/>
                                </span>
                                {yun:}/if{/yun}


                                  {yun:}if !$resume_expect.self_photo{/yun}<span style="">请上传图片</span>{yun:}/if{/yun}


                                <span class="yunset_list_file" style="width:100%;height:100%; flex:1"> 
                        	       <input style="height:100%;" type="file" id="pic" name="pic" onchange="previewImage(this,'preview1')" accept="image/*">
                                </span>

                                <input type='hidden' name='preview1' value='' id='preview1'> 
                                 <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png"/>
                            </span>
                       </div>


                 </div>
                 <div class="job_lvli row">
                    
                         <div class="info_hd jl_title" style="display: flex;">
                            <span>个人履历</span>
                            <a  class="yun_wap_info_brief_tit_bc lvli_jt_img" href="#addnexthtml33" style="flex:1;height:40px;line-height:40px;">
                                <img src="../../../app/template/wap/images/cxyyou3.png"/>

                                 <input type="hidden"  id="lv_switch" value=""/>


                               
                            </a>
                        </div>

                 </div>

                

		<!--     <div class="yunset_addresume_tit">基本信息</div> -->
			<!--   <ul class="yunset_list "> -->
<!--           <li class="yunset_list_text"><span class="yunset_list_name">姓名</span>
  <div class="yunset_list_commentary"> <input type="text" name="uname" id="uname" value="{yun:}$resume.name{/yun}" placeholder="请输入真实姓名" class=""></div>
</li>
<li class=""><span class="yunset_list_name">性别</span>
  <div class="yunset_list_commentary"><button id='sexPicker' class="mui-btn mui-btn-block" type='button' data-sex="{yun:}$resume.sex{/yun}">{yun:}if $resume.sex==1{/yun}{yun:}$arr_data1{/yun}{yun:}else if $resume.sex==2{/yun}{yun:}$arr_data1{/yun}{yun:}else{/yun}请选择性别{yun:}/if{/yun}</button>
    <input type="hidden" id="sex" name="sex" value="{yun:}$resume.sex{/yun}"></div>
</li>
<li class=""><span class="yunset_list_name">出生年月</span>
  <div class="yunset_list_commentary"><button id='birthdayUserPicker' data-options='{"type":"date","value":"{yun:}if $resume.birthday{/yun}{yun:}$resume.birthday{/yun}{yun:}else{/yun}1988-08-08{yun:}/if{/yun}","beginYear":1955,"endYear":2010}' class="btn mui-btn mui-btn-block">{yun:}if $resume.birthday{/yun}{yun:}$resume.birthday{/yun}{yun:}else{/yun}1989-10-10{yun:}/if{/yun}</button>
    <input type="hidden" id="birthday" name="birthday" value="{yun:}if $resume.birthday{/yun}{yun:}$resume.birthday{/yun}{yun:}else{/yun}1989-10-10{yun:}/if{/yun}"></div>
</li>
<li class="yunset_list_text"><span class="yunset_list_name">现居住地</span>
  <div class="yunset_list_commentary"> <input type="text" name="living" id="living" value="{yun:}$resume.living{/yun}" placeholder="请输入现居住地" class=""></div>
</li> -->

				<!-- 	<li class=""><span class="yunset_list_name">最高学历</span>
						<div class="yunset_list_commentary"> <button id='eduPicker' class="mui-btn mui-btn-block" type='button' data-edu="{yun:}$resume.edu{/yun}">{yun:}if $resume.edu{/yun}{yun:}$userclass_name[$resume.edu]{/yun}{yun:}else{/yun}请选择最高学历{yun:}/if{/yun}</button>
							<input type="hidden" id="edu" name="edu" value="{yun:}$resume.edu{/yun}">
						</div>
					</li> -->

					<!-- <li class=""><span class="yunset_list_name">工作经验</span>
						<div class="yunset_list_commentary"> <button id='expPicker' class="mui-btn mui-btn-block" type='button' data-exp="{yun:}$resume.exp{/yun}">{yun:}if $resume.exp{/yun}{yun:}$userclass_name[$resume.exp]{/yun}{yun:}else{/yun}请选择工作经验{yun:}/if{/yun}</button>
							<input type="hidden" id="exp" name="exp" value="{yun:}$resume.exp{/yun}"></div>
					</li> -->
<!--           <li class="yunset_list_text"><span class="yunset_list_name">手机</span><span class="yunset_list_commentary">
  {yun:}if $resume.moblie_status==1{/yun}
  （已绑定）{yun:}$resume.telphone{/yun} 
  <input type="hidden" id="telphone" value="{yun:}$resume.telphone{/yun}">
  {yun:}else{/yun}
  <input type="text" name="telphone" id="telphone" value="{yun:}$resume.telphone{/yun}" onkeyup="this.value=this.value.replace(/[^0-9.]/g,'')" class=""placeholder="请输入手机号码" >
  {yun:}/if{/yun} 
  </span></li>
<li class="yunset_list_text">
  <span class="yunset_list_name">邮箱</span>
  <span class="yunset_list_commentary ">
   {yun:}if $resume.email_status==1{/yun}
  （已验证）{yun:}$resume.email{/yun}
    <input type="hidden" id="email" value="{yun:}$resume.email{/yun}">
  {yun:}else{/yun}
     <div class=""><input type="text" name="email" id="email" value="{yun:}$resume.email{/yun}" class="" placeholder="请输入联系邮箱" ></div>
  {yun:}/if{/yun} 

  </span>
</li> -->

			<!--   </ul> -->
				<!-- <ul class="yunset_list"> -->
					<!-- <li class=""><span class="yunset_list_name">从事行业</span>
            <div class="yunset_list_commentary"> <button id='hyPicker' class="mui-btn mui-btn-block" type='button'>请选择从事行业</button>
              <input type="hidden" id="hy" name="hy" value="{yun:}$row.hy{/yun}"></div>
          </li>
          <li>
            <a href="#jobclasshtml"><span class="yunset_list_name">工作职能</span ><span class="yunset_list_commentary" id="jobnameshow">请选择工作职能</span></a>
            <input type="hidden" name="job_classid" id="job_classid" value="" />
          </li> -->

					<!-- <li class="yunset_list_text"><span class="yunset_list_name">期望岗位</span>
						<div class="yunset_list_commentary"> <input type="text" name="name" id="name" value="" placeholder="比如：销售总监,销售经理" class=""></div>
					</li> -->
					<!-- <li>
						<a href="#salaryhtml"><span class="yunset_list_name">期望薪资</span > <span class="yunset_list_commentary" id="salaryshow">请输入期望薪资</span></a>
					</li> -->
					<!-- <li>
						<a href="#cityclasshtml"><span class="yunset_list_name">期望城市</span ><span class="yunset_list_commentary" id="citynameshow">请选择期望城市</span></a>
						<input type="hidden" name="city_classid" id="city_classid" value="" />
					</li> -->
				<!--   <li><span class="yunset_list_name">工作性质</span ><span class="yunset_list_commentary">
          <button id='typePicker' class="mui-btn mui-btn-block" type='button'>请选择工作性质</button>
          <input type="hidden" id="type" name="type" value="">
          </span></li>
        <li><span class="yunset_list_name">到岗时间</span ><span class="yunset_list_commentary">
          <button id='reportPicker' class="mui-btn mui-btn-block" type='button'>请选择到岗时间</button>
          <input type="hidden" id="report" name="report" value="">
          </span></li>
        <li><span class="yunset_list_name">求职状态</span ><span class="yunset_list_commentary">
          <button id='jobstatusPicker' class="mui-btn mui-btn-block" type='button'>请选择求职状态</button>
          <input type="hidden" id="jobstatus" name="jobstatus" value="">
          </span></li> -->
				<!-- </ul> -->
				
				<input type="hidden" id="logid" name="logid">

        <input type="hidden" name="eid" id="eid"  value="{yun:}if $resume_expect.id{/yun}{yun:}$resume_expect.id{/yun} {yun:}else {/yun} 0{yun:}/if{/yun}"/> 



			
                <div style="height:30px;"></div>
				
			</div>
      <div class="yunset_bth_box" style="background: transparent; border: none; padding:0px;position: fixed;bottom: 10px;z-index: 999;width: 100%;">
          <!-- <a href="#addnexthtml" class="yun_wap_info_brief_tit_bc addnext" style="color: red">下一步</a> -->
          <button id="resumesubmit" type="button" class="mui-btn mui-btn-block mui-btn-primary" style="margin-top: 20px;">保 存</button>
      </div>
		</div>
	</div>
</div>

<div id="addnexthtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<div class="yunset_addresume_tit">求职意向</div>

				<ul class="yunset_list">
					<li class=""><span class="yunset_list_name">从事行业</span>
						<div class="yunset_list_commentary"> <button id='hyPicker' class="mui-btn mui-btn-block" type='button'>请选择从事行业</button>
							<input type="hidden" id="hy" name="hy" value="{yun:}$row.hy{/yun}"></div>
					</li>
					<li>
						<a href="#jobclasshtml"><span class="yunset_list_name">工作职能</span ><span class="yunset_list_commentary" id="jobnameshow">请选择工作职能</span></a>
						<input type="hidden" name="job_classid" id="job_classid" value="" />
					</li>

					<!-- <li class="yunset_list_text"><span class="yunset_list_name">期望岗位</span>
						<div class="yunset_list_commentary"> <input type="text" name="name" id="name" value="" placeholder="比如：销售总监,销售经理" class=""></div>
					</li> -->
					<!-- <li>
						<a href="#salaryhtml"><span class="yunset_list_name">期望薪资</span > <span class="yunset_list_commentary" id="salaryshow">请输入期望薪资</span></a>
					</li> -->
					<!-- <li>
						<a href="#cityclasshtml"><span class="yunset_list_name">期望城市</span ><span class="yunset_list_commentary" id="citynameshow">请选择期望城市</span></a>
						<input type="hidden" name="city_classid" id="city_classid" value="" />
					</li> -->
					<li><span class="yunset_list_name">工作性质</span ><span class="yunset_list_commentary">
						<button id='typePicker' class="mui-btn mui-btn-block" type='button'>请选择工作性质</button>
						<input type="hidden" id="type" name="type" value="">
						</span></li>
					<li><span class="yunset_list_name">到岗时间</span ><span class="yunset_list_commentary">
						<button id='reportPicker' class="mui-btn mui-btn-block" type='button'>请选择到岗时间</button>
						<input type="hidden" id="report" name="report" value="">
						</span></li>
					<li><span class="yunset_list_name">求职状态</span ><span class="yunset_list_commentary">
						<button id='jobstatusPicker' class="mui-btn mui-btn-block" type='button'>请选择求职状态</button>
						<input type="hidden" id="jobstatus" name="jobstatus" value="">
						</span></li>
				</ul>
				
				<input type="hidden" id="logid" name="logid">

				<div class="yunset_bth_box" style="background: transparent; border: none; padding:0px;">
				{yun:}if $config.resume_create_exp!='1'&&$config.resume_create_edu!='1'&&$config.resume_create_project!='1'{/yun}
				<button id="resumesubmit" type="button" class="mui-btn mui-btn-block mui-btn-primary" style="margin-top: 20px;">保 存</button>
				{yun:}else{/yun}
                    <a href="#addnexttwohtml" class="yun_wap_info_brief_tit_bc addnexttwo">下一步</a>
					
					{yun:}/if{/yun}
					 <a class="yun_wap_info_brief_tit_bc mui-action-back" style="background:#f8f8f8;border:1px solid #eee;color:#333; margin-bottom:20px;">返回上一步</a>
                </div>
			</div>
		</div>
	</div>
</div>
<div id="jinenghtml" class="mui-page">
        <div class="mui-page-content">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll" style="padding:15px;">
                  
                      
                       <!--  <input type="checkbox" name="jineng[]" data-id="{yun:}$v.id{/yun}" value="{yun:}$v.name{/yun}"  {yun:}if $v.is_sel==1{/yun} checked="checked" {yun:}/if{/yun}/> -->

                       <div class="yun_info_fl">
                          <div class="yun_info_fl_c">
                            <div class="yun_wap_addresume_box_nexttit">技能优势</div>

                            {yun:}foreach from=$jinengs  item=v{/yun}
                             <div class="yun_info_fl_list">
                              <div class="mui-input-row mui-checkbox">
                                <label>{yun:}$v.name{/yun} </label>
                                <input name="jineng[]" value="{yun:}$v.name{/yun}" type="checkbox" class="lang" data-id="{yun:}$v.id{/yun}" data-name="{yun:}$v.name{/yun}" {yun:}if $v.is_sel==1{/yun} checked="checked" {yun:}/if{/yun}>
                              </div>
                            </div>

                               {yun:}/foreach{/yun}
                        
                            <a id="jineng_ok" class="yun_wap_info_brief_tit_bc mui-action-back new_back_btn">确定</a>
                       </div>
                 </div>

                       
                


                   <!--   <a id="jineng_ok" class="yun_wap_info_brief_tit_bc mui-action-back new_back_btn">确定</a> -->




                </div>
            </div>
        </div>
</div>

{yun:}if $config.resume_create_exp=='1'||$config.resume_create_edu=='1'||$config.resume_create_project=='1'{/yun}
<div id="addnexttwohtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				
				{yun:}if $config.resume_create_exp=='1'{/yun}
				<div class="yunset_addresume_tit">最近一份工作</div>
				<ul class="yunset_list">
					<li class="yunset_list_text"><span class="yunset_list_name">公司名称</span>
						<div class="yunset_list_commentary">
							<input type="text" id="workname" name="workname" value="" placeholder="请填写公司名称" class="">
						</div>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">担任职位</span>
						<div class="yunset_list_commentary">
							<input type="text" name="worktitle" id="worktitle" value="" placeholder="请填写担任职位" class=""></div>
					</li>
					<li>
						<a href="#worktimehtml"><span class="yunset_list_name">在职时间</span>
							<div class="yunset_list_commentary" id="worktimeshow"> 请选择在职时间</div>
						</a>
					</li>
					<li>
						<a href="#workcontenthtml"><span class="yunset_list_name">工作内容</span>
							<div class="yunset_list_commentary" id="workcontentshow"> 请填写工作职责</div>
						</a>
					</li>
				</ul>
				{yun:}/if{/yun} {yun:}if $config.resume_create_edu=='1'{/yun}
				<div class="yunset_addresume_tit">毕业院校</div>
				<ul class="yunset_list">
					<li class="yunset_list_text"><span class="yunset_list_name">学校名称</span>
						<div class="yunset_list_commentary">
							<input type="text" id="eduname" name="eduname" value="" placeholder="请填写学校名称" class=""></div>
					</li>
					<li>
						<a href="#edutimehtml"><span class="yunset_list_name">在校时间</span>
							<div class="yunset_list_commentary" id="edutimeshow"> 请选择在校时间</div>
						</a>
					</li>
					<li><span class="yunset_list_name">毕业学历</span > <span class="yunset_list_commentary" ><button id='educationUserPicker' class="mui-btn mui-btn-block" type='button'>{yun:}if $userclass_name[$row.education]{/yun}{yun:}$userclass_name[$row.education]{/yun}{yun:}else{/yun}请选择毕业学历{yun:}/if{/yun}</button>
						<input type="hidden" id="education" name="education" value="{yun:}$row.education{/yun}">
							</span>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">所学专业</span>
						<div class="yunset_list_commentary"> <input type="text" id="eduspec" name="eduspec" value="" placeholder="请填写所学专业" class=""></div>
					</li>

				</ul>
				{yun:}/if{/yun} {yun:}if $config.resume_create_project=='1'{/yun}
				<div class="yunset_addresume_tit">近期项目</div>
				<ul class="yunset_list">
					<li class="yunset_list_text"><span class="yunset_list_name">项目名称</span>
						<div class="yunset_list_commentary">
							<input type="text" name="proname" id="proname" value="" placeholder="请填写项目名称" class=""></div>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">担任职位</span>
						<div class="yunset_list_commentary">
							<input type="text" name="protitle" id="protitle" value="" placeholder="请填写担任职位" class=""></div>
					</li>
					<li>
						<a href="#protimehtml"><span class="yunset_list_name">项目时间</span>
							<div class="yunset_list_commentary" id="protimeshow"> 请选择项目时间</div>
						</a>
					</li>

					<li>
						<a href="#procontenthtml"><span class="yunset_list_name">项目内容</span>
							<div class="yunset_list_commentary" id="procontentshow"> 请填写项目内容</div>
						</a>
					</li>
				</ul>
				{yun:}/if{/yun}
				
				<div class="yunset_bth_box" style="background: transparent; border: none; padding:0px;">
                  
					<button id="resumesubmit" type="button" class="mui-btn mui-btn-block mui-btn-primary" style="margin-top: 20px;">保 存</button>
					 <a class="yun_wap_info_brief_tit_bc mui-action-back" style="background:#f8f8f8;border:1px solid #eee;color:#333;margin-bottom:20px;">返回上一步</a>
                </div>
			</div>
		</div>
	</div>
</div>
{yun:}/if{/yun}

<div id="procontenthtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<div class="yun_wap_addresume_box_group">
                 <div class="yun_wap_addresume_box_nexttit">项目内容</div>
					<div class="yun_wap_addresume_box_control_text">
						<textarea name="procontent" id="procontent" style="width:100%;height:200px;" class="yun_wap_addresume_texttextAreaMsg" ></textarea>
					</div>
                    	<a class="yun_wap_info_brief_tit_bc mui-action-back"style="margin-top:0px;">确定</a>
				</div>
			</div>
		</div>
	</div>
</div>
<div id="workcontenthtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<div class="yun_wap_addresume_box_group">
                <div class="yun_wap_addresume_box_nexttit">工作内容</div>
					<div class="yun_wap_addresume_box_control_text">
						<textarea name="workcontent" id="workcontent" style="width:100%;height:200px;" class="yun_wap_addresume_texttextAreaMsg"></textarea>
					</div>
                      	<a class="yun_wap_info_brief_tit_bc mui-action-back" style="margin-top:0px;">确定</a>
				</div>
			</div>
		</div>
	</div>
</div>
<div id="protimehtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<ul class="yunset_list mt15">
					<li><span class="yunset_list_name">开始时间</span > <span class="yunset_list_commentary"><button id='prosdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择开始时间</button>
					<input type="hidden" id="prosdate" name="prosdate" value=""></span>

					</li>
					<li><span class="yunset_list_name">结束时间</span > <span class="yunset_list_commentary"><button id='proedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择结束时间</button>
					<input type="hidden" id="proedate" name="proedate" value=""></span>
					</li>
				</ul>
				<a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
			</div>
		</div>
	</div>
</div>
<div id="edutimehtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<ul class="yunset_list mt15">
					<li><span class="yunset_list_name">入校时间</span > <span class="yunset_list_commentary"><button id='edusdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择入校时间</button>
					<input type="hidden" id="edusdate" name="edusdate" value=""></span>

					</li>
					<li><span class="yunset_list_name">离校时间</span > <span class="yunset_list_commentary"><button id='eduedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择离校时间</button>
					<input type="hidden" id="eduedate" name="eduedate" value=""></span>
					</li>
				</ul>
				<a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
			</div>
		</div>
	</div>
</div>
<div id="worktimehtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<ul class="yunset_list mt15">
					<li><span class="yunset_list_name">入职时间</span > <span class="yunset_list_commentary"><button id='worksdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择入职时间</button>
					<input type="hidden" id="worksdate" name="worksdate" value=""></span>

					</li>
					<li><span class="yunset_list_name">离职时间</span > <span class="yunset_list_commentary"><button id='workedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择离职时间</button>
					<input type="hidden" id="workedate" name="workedate" value=""></span>
					</li>
					<li class="yunset_list_text">
						<span class="yunset_list_name" style="width:150px;">至今<em class="yunset_xttip"></em></span>
						<div class="yunset_kg_box">
							<div class="yunset_kg">
								<div class="mui-switch mui-switch-mini totoday">
									<div class="mui-switch-handle"></div>
								</div>
								<input type="hidden" id="totoday" name="totoday" value="">
							</div>
						</div>
					</li>
				</ul>
				<a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
			</div>
		</div>
	</div>
</div>


<!--从事过的职位 选择 start-->


  <div id="introducehtml" class="mui-page">
        <div class="mui-page-content">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll" style="padding:15px;">
             
                    <textarea id="introduce_cont" rows="10">{yun:}$resume_expect.introduce_cont{/yun}</textarea>

                     <a id="introduce_ok" class="yun_wap_info_brief_tit_bc mui-action-back new_back_btn">确定</a>

                </div>
            </div>
        </div>

          <script>
                $('#introduce_ok').on('click',function(){
                    $('.introduce_txt').text($('#introduce_cont').val());
                });

          </script>





   </div>



   <div id="addnexthtml33" class="mui-page">
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">

                  <div style="padding:15px;">
                 <!--  <input name="lv_value" type="radio" value="0" /> 屏蔽
                 <input name="lv_value" type="radio" value="1" /> 公开 -->
                  是否公开履历：
                 <div id="mySwitch" class="mui-switch {yun:}if $lvli_status==1{/yun}mui-active{yun:}/if{/yun}">
                   <div class="mui-switch-handle"></div>
                </div>

                 <script type="text/javascript">
                      document.getElementById("mySwitch").addEventListener("toggle",function(event){
                          if(event.detail.isActive){
                            console.log("你启动了开关");
                            $('#lv_switch').val(1);
                          }else{
                            console.log("你关闭了开关"); 
                            $('#lv_switch').val(0); 
                          }
                        })

                 </script>

                    <a id="lvli_ok" class="yun_wap_info_brief_tit_bc mui-action-back new_back_btn">确定</a>

                  </div>
            </div>
        </div>
    </div>
</div>




 <div id="jobclasshtml1" class="mui-page">
    <div class="mui-page-content">
        <div style="height:570px;">
            <div class="grade_tit">选择工作职能 (可多选)</div>
            <div class="grade-eject grade-w-roll">
                <ul class="grade-w" id="jobonea">
                    {yun:}foreach from=$job_index item=v{/yun}
                    <li data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</li>
                    {yun:}/foreach{/yun}
                </ul>
                <ul class="grade-t" id="jobtwoa">
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li class="jobtwoa joba{yun:}$key{/yun} none" data-id="{yun:}$vv{/yun}">{yun:}$job_name[$vv]{/yun}</li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                </ul>
                <ul class="grade-s" id="jobthreea">
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li id="jobtwoa{yun:}$vv{/yun}" class="jobthreea joba{yun:}$vv{/yun} none"><div class="mui-input-row mui-checkbox"><label>全部</label><input type="checkbox" value="{yun:}$vv{/yun}" id="jobcheckAlla{yun:}$vv{/yun}" class="checkAll"/></div></li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if !in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li class="jobthreea joba{yun:}$key{/yun} none" style="width:165px;"><div class="mui-input-row mui-checkbox"><label>{yun:}$job_name[$vv]{/yun}</label><input class="jobthreeboxa jobchecka{yun:}$key{/yun}" id="jobthreea{yun:}$vv{/yun}" value="{yun:}$vv{/yun}" type="checkbox"/></div></li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                </ul>
            </div>
            <div class="grade_chlose_box">
                <div class="grade_chlose_box_c">
                    <span class="grade_chlose_box_c_name">已选</span>
                    <div class="mui-slider">
                        <div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" style="background:#fff;height:20px;">
                            <div id="jobchooseda" class="mui-scroll" style="background:#fff;height:20px;">
                                {yun:}foreach from=$job_classid item=v{/yun}
                                <a class="grade_chlose_box_a" data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</a>
                                {yun:}/foreach{/yun}
                            </div>
                        </div>
                    </div>
                </div>
                <a class="grade_chlose_bth mui-action-back">确定 <span id="jobpencenta" class="{yun:}if !$job_classid{/yun}none{yun:}/if{/yun}">{yun:}count($job_classid){/yun}/5</span></a>
            </div>
        </div>
    </div>
</div>


<!--从事过的职位  选择 end -->









<div id="jobclasshtml" class="mui-page">
	<div class="mui-page-content">
		<div style="height:570px;">
			<div class="grade_tit">选择工作职能 (可多选)</div>
			<div class="grade-eject grade-w-roll">
				<ul class="grade-w" id="jobone">
					{yun:}foreach from=$job_index item=v{/yun}
					<li data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</li>
					{yun:}/foreach{/yun}
				</ul>
				<ul class="grade-t" id="jobtwo">
				{yun:}foreach from=$job_type key=key item=v{/yun}
					{yun:}if in_array($key,$job_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li class="jobtwo job{yun:}$key{/yun} none" data-id="{yun:}$vv{/yun}">{yun:}$job_name[$vv]{/yun}</li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				</ul>
				<ul class="grade-s" id="jobthree">
				{yun:}foreach from=$job_type key=key item=v{/yun}
					{yun:}if in_array($key,$job_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li id="jobtwo{yun:}$vv{/yun}" class="jobthree job{yun:}$vv{/yun} none"><div class="mui-input-row mui-checkbox"><label>全部</label><input type="checkbox" value="{yun:}$vv{/yun}" id="jobcheckAll{yun:}$vv{/yun}" class="checkAll"/></div></li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				{yun:}foreach from=$job_type key=key item=v{/yun}
					{yun:}if !in_array($key,$job_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li class="jobthree job{yun:}$key{/yun} none"><div class="mui-input-row mui-checkbox"><label>{yun:}$job_name[$vv]{/yun}</label><input class="jobthreebox jobcheck{yun:}$key{/yun}" id="jobthree{yun:}$vv{/yun}" value="{yun:}$vv{/yun}" type="checkbox"/></div></li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				</ul>
			</div>
			<div class="grade_chlose_box">
				<div class="grade_chlose_box_c">
					<span class="grade_chlose_box_c_name">已选</span>
					<div class="mui-slider">
						<div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" style="background:#fff;height:20px;">
							<div id="jobchoosed" class="mui-scroll" style="background:#fff;height:20px;">
								{yun:}foreach from=$job_classid item=v{/yun}
								<a class="grade_chlose_box_a" data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</a>
								{yun:}/foreach{/yun}
							</div>
						</div>
					</div>
				</div>
				<a class="grade_chlose_bth mui-action-back">确定 <span id="jobpencent" class="{yun:}if !$job_classid{/yun}none{yun:}/if{/yun}">{yun:}count($job_classid){/yun}/5</span></a>
			</div>
		</div>
	</div>
</div>

<div id="cityclasshtml" class="mui-page">
	<div class="mui-page-content">
		<div style="height:570px;">
			<div class="grade_tit">选择城市(可多选)</div>
			<div class="grade-eject grade-w-roll">
				<ul class="grade-w" id="cityone">
					{yun:}foreach from=$city_index item=v{/yun}
					<li data-id="{yun:}$v{/yun}">{yun:}$city_name[$v]{/yun}</li>
					{yun:}/foreach{/yun}
				</ul>
				<ul class="grade-t" id="citytwo">
				{yun:}foreach from=$city_type key=key item=v{/yun}
					{yun:}if in_array($key,$city_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li class="citytwo city{yun:}$key{/yun} none" data-id="{yun:}$vv{/yun}">{yun:}$city_name[$vv]{/yun}</li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				</ul>
				<ul class="grade-s" id="citythree">
				{yun:}foreach from=$city_type key=key item=v{/yun}
					{yun:}if in_array($key,$city_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li id="citytwo{yun:}$vv{/yun}" class="citythree city{yun:}$vv{/yun} none"><div class="mui-input-row mui-checkbox"><label>全部</label><input type="checkbox" value="{yun:}$vv{/yun}" id="citycheckAll{yun:}$vv{/yun}" class="checkAll"/></div></li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				{yun:}foreach from=$city_type key=key item=v{/yun}
					{yun:}if !in_array($key,$city_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li class="citythree city{yun:}$key{/yun} none"><div class="mui-input-row mui-checkbox"><label>{yun:}$city_name[$vv]{/yun}</label><input class="citythreebox citycheck{yun:}$key{/yun}" id="citythree{yun:}$vv{/yun}" value="{yun:}$vv{/yun}" type="checkbox"/></div></li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				</ul>
			</div>
			<div class="grade_chlose_box">
				<div class="grade_chlose_box_c">
					<span class="grade_chlose_box_c_name">已选</span>
					<div class="mui-slider">
						<div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" style="background:#fff;height:20px;">
							<div id="citychoosed" class="mui-scroll" style="background:#fff;height:20px;">
								{yun:}foreach from=$city_classid item=v{/yun}
								<a class="grade_chlose_box_a">{yun:}$city_name[$v]{/yun}</a>
								{yun:}/foreach{/yun}
							</div>
						</div>
					</div>
				</div>
				<a class="grade_chlose_bth mui-action-back">确定<span id="citypencent" class="{yun:}if !$city_classid{/yun}none{yun:}/if{/yun}">{yun:}count($city_classid){/yun}/5</span></a>
			</div>
		</div>
	</div>
</div>
<div id="salaryhtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll wap_member">
				<ul class="yunset_list">
					<li class="yunset_list_text"><span class="yunset_list_name">最低薪资</span>
						<div class="yunset_list_xzbox">
							<input type="number" id="minsalary" value="{yun:}$resume_expect.minsalary{/yun}" placeholder="请输入最低薪资" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')">
							<span class="yunset_list_xz">元/月</span>
						</div>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">最高薪资<font color="#999">(选填)</font></span>
						<div class="yunset_list_xzbox">
							<input type="number" id="maxsalary" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" value="{yun:}$resume_expect.maxsalary{/yun}" placeholder="请输入最高薪资">

							<span class="yunset_list_xz">元/月</span> </div>
					</li>
				</ul>
				<a class="yun_wap_info_brief_tit_bc mui-action-back" style="display:block; height:40px; line-height:40px;width:95%;background:#64a3f7; margin:10px auto; border-radius:5px;">确定</a>
			</div>
		</div>
	</div>
</div>

<input type='hidden' id='resume_edu' value='{yun:}$config.resume_create_edu{/yun}'>
<input type='hidden' id='resume_exp' value='{yun:}$config.resume_create_exp{/yun}'>
<input type='hidden' id='resume_pro' value='{yun:}$config.resume_create_project{/yun}'>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.picker.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.poppicker.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.view.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script language="javascript">
	var sexData = [];
	'{yun:}foreach from=$arr_data.sex key=j item=v{/yun}'
	sexData.push({
		value: '{yun:}$j{/yun}',
		text: '{yun:}$v{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var eduData = [];
	'{yun:}foreach from=$userdata.user_edu key=j item=v{/yun}'
	eduData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var expData = [];
	'{yun:}foreach from=$userdata.user_word key=j item=v{/yun}'
	expData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}';
	var hyData = [];
	'{yun:}foreach from=$industry_index item=v{/yun}'
	hyData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$industry_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var typeData = [];
	'{yun:}foreach from=$userdata.user_type item=v{/yun}'
	typeData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var reportData = [];
	'{yun:}foreach from=$userdata.user_report item=v{/yun}'
	reportData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var jobstatusData = [];
	'{yun:}foreach from=$userdata.user_jobstatus item=v{/yun}'
	jobstatusData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	mui.init();
	var viewApi = mui('#app').view({
		defaultPage: '#main'
	});
	
	var view = viewApi.view;
	(function($) {
		
		mui('.mui-scroll-wrapper').scroll({
			scrollY: true, 
			scrollX: false, 
			startX: 0, 
			startY: 0, 
			indicators: false, 
			deceleration: 0.0006, 
			
		});
		
		var oldBack = $.back;
		$.back = function() {
			if(viewApi.canBack()) { 
				viewApi.back();
			} else { 
				oldBack();
			}
		};
	})(mui);
	
	view.addEventListener('pageBeforeShow', function(e) {
		document.activeElement.blur();
	});
	view.addEventListener('pageBeforeBack', function(e) {
		var salaryshow = ''
		var minsalary = document.getElementById('minsalary').value;
		var maxsalary = document.getElementById('maxsalary').value;
		if(minsalary) {
			salaryshow = minsalary;
			if(maxsalary) {
				salaryshow += '-' + maxsalary +'元/月';
			} else {
				salaryshow += '元以上/月';
			}
			if(parseInt(maxsalary)>0 && parseInt(maxsalary) < parseInt(minsalary)) {
				document.getElementById('minsalary').value = '';
				document.getElementById('maxsalary').value = '';
				document.getElementById('salaryshow').innerText = '';
				return mui.toast('最低薪资不能比最高薪资高，请重新填写');
			}
			document.getElementById('salaryshow').innerText = salaryshow;
		}
		var worksdate = document.getElementById('worksdate').value;
		var workedate = document.getElementById('workedate').value;
		var totoday = document.getElementById('totoday').value;
		if(worksdate && (workedate||totoday)) {
			if(totoday){
				document.getElementById('worktimeshow').innerText = worksdate + '-至今';
			}else{
				document.getElementById('worktimeshow').innerText = worksdate + '-' + workedate;
			}
			
		}
		var workcontent = document.getElementById('workcontent').value;
		if(workcontent) {
			document.getElementById('workcontentshow').innerText = workcontent;
		}
		var edusdate = document.getElementById('edusdate').value;
		var eduedate = document.getElementById('eduedate').value;
		if(edusdate && eduedate) {
			document.getElementById('edutimeshow').innerText = edusdate + '-' + eduedate;
		}
		var prosdate = document.getElementById('prosdate').value;
		var proedate = document.getElementById('proedate').value;
		if(prosdate && proedate) {
			document.getElementById('protimeshow').innerText = prosdate + '-' + proedate;
		}
		var procontent = document.getElementById('procontent').value;
		if(procontent) {
			document.getElementById('procontentshow').innerText = procontent;
		}
	});
	mui('.totoday').each(function() {
		this.addEventListener('toggle', function(event) {
			if(event.detail.isActive){
				document.getElementById('workedateComPicker').disabled=true;
				document.getElementById('workedateComPicker').innerText="{yun:}time()|date_format:'%Y-%m'{/yun}"
				document.getElementById('totoday').value=1;
			}else{
				document.getElementById('totoday').value='';
				document.getElementById('workedateComPicker').disabled=false;
				document.getElementById('workedateComPicker').innerText="请选择离职时间"
			}
		});
	});
	$(function() {
		if(document.getElementById('main')){
			document.getElementById('main').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
		}
		if(document.getElementById('addnexthtml')){
			document.getElementById('addnexthtml').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
		}
		if(document.getElementById('addnexttwohtml')){
			document.getElementById('addnexttwohtml').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
		}
		mui('.yunset_bth_box').on('tap', '.addnext',  function() {
			var uname = $.trim(document.getElementById('uname').value),
				sex = $.trim(document.getElementById('sex').value),
				birthday = $.trim(document.getElementById('birthday').value),
				edu = $.trim(document.getElementById('edu').value),
				exp = $.trim(document.getElementById('exp').value),
				telphone = $.trim(document.getElementById('telphone').value),
				email = $.trim(document.getElementById('email').value),
				living = $.trim(document.getElementById('living').value);
			if(uname == "") {
				mui.toast('请输入真实姓名！');return false;
			}
			if(sex== '') {
				 mui.toast('请选择性别！');return false;
			}
			if(birthday== '') {
				 mui.toast('请选择出生年月！');return false;
			}
			if(living== '') {
				 mui.toast('请输入现居住地！');return false;
			}
			if(edu== '') {
				 mui.toast('请选择最高学历！');return false;
			}
			if(exp== '') {
				 mui.toast('请选择工作经验！');return false;
			}
			if(telphone== '') {
				 mui.toast('请输入手机号码！');return false;
			} else {
				var reg = /^[1][3456789]\d{9}$/; 
				 if(!reg.test(telphone)){
					 mui.toast('手机号码格式错误！');return false;
				 }
			}
			var myreg = /^([a-zA-Z0-9\-]+[_|\_|\.]?)*[a-zA-Z0-9\-]+@([a-zA-Z0-9\-]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
			if(email!="" && !myreg.test(email)){
				 mui.toast('邮箱格式错误！');return false;
			}
		})
		mui('.yunset_bth_box').on('tap', '.addnexttwo',  function() {
			var name = $.trim(document.getElementById('name').value),
				hy = $.trim(document.getElementById('hy').value),
				job_classid = $.trim(document.getElementById('job_classid').value),
				city_classid = $.trim(document.getElementById('city_classid').value),
				minsalary = $.trim(document.getElementById('minsalary').value),
				maxsalary = $.trim(document.getElementById('maxsalary').value),
				report = $.trim(document.getElementById('report').value),
				type = $.trim(document.getElementById('type').value),
				jobstatus = $.trim(document.getElementById('jobstatus').value);
			if(hy== "") {
				mui.toast("请选择从事行业！");return false;
			}
			if(job_classid== "") {
				 mui.toast('请选择工作职能！');return false;
			}
			if(name== "") {
				 mui.toast('请输入期望岗位！');return false;
			}
			if(minsalary== "") {
				 mui.toast('请输入期望薪资！');return false;
			}
			if(maxsalary) {
				if(parseInt(maxsalary)>0 && parseInt(maxsalary) <= parseInt(minsalary)) {
					 mui.toast('最高薪资必须大于最低薪资！');return false;
				}
			}
			if(city_classid == "") {
				 mui.toast('请选择期望城市！');return false;
			}
			if(type== "") {
				 mui.toast('请选择工作性质！');return false;
			}
			if(report== "") {
				mui.toast('请选择到岗时间！');return false;
			}
			if(jobstatus== "") {
				mui.toast('请选择求职状态！');return false;
			}
		})
 		mui('.yunset_bth_box').on('tap', '#resumesubmit', new_addresume);
	});
	var jn = [];
	'{yun:}foreach from=$job_name key=key item=v{/yun}';
	jn['{yun:}$key{/yun}']='{yun:}$v{/yun}';
	'{yun:}/foreach{/yun}';
	var cn = [];
	'{yun:}foreach from=$city_name key=key item=v{/yun}';
	cn['{yun:}$key{/yun}']='{yun:}$v{/yun}';
	'{yun:}/foreach{/yun}';

	 $('#jineng_ok').on('click',function(){

                var sel_jn = $('input[name="jineng[]"]:checked');
                var jn_html = ``;
                var jn_id='';
                sel_jn.each(function(i,v){
                    jn_html+=`<span>${v.value}</span>`;
                    var skillid = this.dataset.id;
                    jn_id+=!jn_id?skillid:','+skillid;
                });
                jn_html+=`<div style="clear:both"></div>`
               $('#jinengshow').html(jn_html);

               $('#skills').val(jn_id);

    });

</script>
<script src="{yun:}$wap_style{/yun}/js/category.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/publicselect.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/cmc.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script>
	var second = 0;
	window.setInterval(function () {
		second ++;
	}, 1000);

	var url     = location.href, 
		refer   = document.referrer, 
		timeIn  = Math.ceil(new Date().getTime()/1000); 
	
	$(function(){
 		setTimeout(function(){ 
			$.post('index.php?c=userLog',{url:url,refer:refer,timeIn:timeIn,second:2,opera:22},function(data){
				if(data){
					$("#logid").val(data);
				}
			})
		},2000);
		
    }) 
	
	window.onbeforeunload = function(){
		var logid = $("#logid").val();
 		if(second>2){ 
			$.post('index.php?c=gxUserLog',{id:logid,second:second},function(data){
				if(data) {
					return false;
				}
			})
		}
   	}
</script>
